javascript search methods

javascript string indexof

javascript string lastindexof

javascript string search

the search() methods returns the position of the 1st occurance of a specified text in a string

javascript string match()

the match() method searches a string for a match, as an array object

javascript string includes()

the includes() method return true if a string contains a specified value

this method is not supported in Internet explorer

check if a string includes some name after certain index

javascript string startsWith()

check if the string startx with "hello"

javascript string endswith()

the endswith() methods returns true of a string with aspecified value or text, otherwise it returns false